package com.test.context.event;

import org.springframework.context.ApplicationContext;
import org.springframework.context.event.ApplicationContextEvent;

/**
 * @Title:
 * @Description: 功能概述: A这个bean正在被spring容器初始化
 * @Author: lihaiyang
 * @version: 1.0 .
 * @Date: 2022-07-15 09:02
 * @Copyright: Copyright(c)2022 RedaFlight.comAll Rights Reserved
 */
public class ABeanInitEvent extends ApplicationContextEvent {

	private String name;
	/**
	 * Create a new ContextStartedEvent.
	 *
	 * @param source the {@code ApplicationContext} that the event is raised for
	 *               (must not be {@code null})
	 */
	public ABeanInitEvent(ApplicationContext source) {
		super(source);
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
